package com.youhome.mapper;

import com.youhome.model.BCounselor;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

@Repository
public interface BCounselorMapper {
    int deleteByPrimaryKey(Long counselorId);

    int insert(BCounselor record);

    int insertSelective(BCounselor record);

    BCounselor selectByPrimaryKey(Long counselorId);

    BCounselor selectByUserId(Long userId);

    int updateByPrimaryKeySelective(BCounselor record);

    int updateByPrimaryKey(BCounselor record);
}